workFolder = "C:\Users\walsworthlab\Desktop\jstang\RandomCurrentGeneration\currentdensity_raw_trial2\";
workFolder = "C:\Users\walsworthlab\Desktop\jstang\RandomCurrentGeneration\meshimg_raw_trial2\";
% load data
for index = problematicls
    disp("inspecting")
    disp(index)
    dataindex = num2str(index,'%04.f');
    dataappendix = ".png";
    completePath = workFolder+dataindex+dataappendix;
    if isfile(completePath)
        if ismember(index,problematicls)
            delete(completePath)
            disp("deleted this data")
        end
    else
        disp("this file doesn tno exist")
    end
end
